<!--
 * @Author: haungyan
 * @Date: 2020-11-22 19:42:37
 * @LastEditors: haungyan
 * @LastEditTime: 2020-12-29 11:36:34
 * @Description: file content
 * @FilePath: \fed-e-task-03-01\code\mini-vue\index.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <div id="app">
        <div>{{ msg }}</div>
        <span>{{ count }}</span>
        <div v-text="msg"></div>
        <div v-on:click="say">v-on内容</div>
        <div v-html="hText"></div>
        <input type="text" v-model="msg">
    </div>
</head>
<body>
    <script src="./js/dep.js"></script>
    <script src="./js/watcher.js"></script>
    <script src="./js/oberver.js"></script>
    <script src="./js/compiler.js"></script>
    <script src="./js/vue.js"></script>
    <script>
        const vm = new Vue({
            data: {
                msg: '消息',
                count: 1,
                hText: '<div>我于杀戮之中绽放，亦如黎明中的花朵</div>'
            },
            el: '#app',
            methods: {
                say(val) {
                    console.log('say val')
                }
            }
        })
        // console.log(vm)
    </script>
</body>
</html>